import { useState } from 'react'
import './App.css'
import Child from './components/child'
function App() {
  const [count, setCount] = useState(0)

  return (
    <>
      <div>
          这个是父组件 我将要传递参数给子组件
          <Child count={count} setCount={setCount} />
      </div>
    </>
  )
}

export default App
